#pragma once
#include "Tree.h"
#include "Player.h"
#include "BoxerChallenge.h"

class Tournament
{
public:
	Tournament(Tree<Boxer> *aChallengeTree, Boxer **aBoxerArray);
	void UpdateRanking(NodeTree<Boxer>* aNode , unsigned aCurrentDepth=0);
	Boxer* Challenge(NodeTree<Boxer>* n1, NodeTree<Boxer>* n2);
	~Tournament(void);
	Tree<Boxer> *mChallengeTree;
	Boxer **mBoxerArray;
	unsigned mCurrentDepthChallenge;
};

